Run gdk tests with an unset D-Bus address
authorMatthias Clasen <mclasen@redhat.com>
Fri, 30 Apr 2021 12:10:48 +0000 (08:10 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 30 Apr 2021 12:10:48 +0000 (08:10 -0400)
If the session bus address is unset, GLib will
helpfully try to autolaunch a bus, which will
fail and timeout. If we set an empty address,
it gives up early.

testsuite/gdk/meson.build

index 013080a1eda3ace34635d2c17e57977e9dbee8be..ef8abbd34d1eee5e8caeefa3bda9fdc8b558a14d 100644 (file)
@@ -39,6 +39,7 @@ foreach t : tests
     env: [
       'G_TEST_SRCDIR=@0@'.format(meson.current_source_dir()),
       'G_TEST_BUILDDIR=@0@'.format(meson.current_build_dir()),
+      'DBUS_SESSION_BUS_ADDRESS=',
     ],
     suite: 'gdk',
   )